Time-varying randomization for data synchronization and implicit information transmission

ABSTRACT

The present invention provides a system and method for the time-varying randomization of a signal stream to provide for a robust error recovery. A current block of data is randomized in accordance with data from the current block and data from at least one temporally adjacent block of data. The present invention also provides a system and method for time-varying derandomization of a randomized signal stream and alternately delayed-decoding of the signal stream. Randomized data is derandomized using the current block of data and data from at least one temporally adjacent block. In addition, decoding of the current block and the adjacent block is delayed in order to facilitate recovery of lost or damaged compression parameters of encoded data.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to providing a robust error recovery due to data losses incurred during transmission of signals. More particularly, the present invention relates to a method of time-varying randomization of data used in facilitating a robust error recovery.

[0003] 2. Art Background

[0004] A number of techniques exist for reconstructing lost data due to random errors that occur during signal transmission or storage. However, these techniques cannot handle the loss of consecutive packets of data. Consecutive loss of packets of data is described in the art as burst error. Burst errors result in a reconstructed signal with such a degraded quality that it is easily apparent to the end user. Additionally, compression methodologies used to facilitate high speed communications compound the signal degradation caused by burst errors, thus adding to the degradation of the reconstructed signal. Examples of burst error loss affecting transmitted and/or stored signals may be seen in high definition television (“HDTV”) signals, mobile telecommunication applications, as well as video storage technologies including video disk and VCRs.

[0005] For example, the advent of HDTV has led to television systems with a much higher resolution than the current standards proposed by the National Television Systems Committee (“NTSC”). Proposed HDTV signals are predominantly digital. Accordingly, when a color television signal is converted for digital use it is common that the luminance and chrominance signals may be digitized using eight bits. Digital transmission of NTSC color television signals may require a nominal bit rate of about two-hundred and sixteen megabits per second. The transmission rate is greater for HDTV, which may nominally require about 1200 megabits per second. Such high transmission rates may be well beyond the bandwidths supported by current wireless standards. Accordingly, an efficient compression methodology is required.

[0006] Compression methodologies also play an important role in mobile telecommunication applications. Typically, packets of data are communicated between remote terminals in mobile telecommunication applications. The limited number of transmission channels in mobile communications requires an effective compression methodology prior to the transmission of packets. A number of compression techniques are available to facilitate high transmission rates.

[0007] Adaptive Dynamic Range Coding (“ADRC”) and Discrete Cosine Transform (“DCT”) coding provide image compression techniques known in the art. Both techniques take advantage of the local correlation within an image to achieve a high compression ratio. However, an efficient compression algorithm may result in compounded error propagation because errors in an encoded signal are more prominent when subsequently decoded. This error multiplication may result in a degraded video image that is readily apparent to the user.

SUMMARY OF THE INVENTION

[0008] The present invention includes a system and method to encode data to maximize subsequent recovery of lost or damaged encoded data. In one embodiment, a current block of data is randomized in accordance with data from the current block and data from at least one temporally adjacent block of data. In one embodiment, randomized data is derandomized using the current block of data and data from at least one temporally adjacent block. In addition, in one embodiment, decoding of the current block and the adjacent block is delayed in order to facilitate recovery of lost or damaged compression parameters of encoded data.

BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The objects, features and advantages of the present invention will be apparent to one skilled in the art in light of the following detailed description in which:

[0010]FIG. 1a illustrates an embodiment of the processes of signal encoding, transmission, and decoding.

[0011]FIGS. 1b and 1 c illustrate embodiments of signal encoding, transmission, and decoding implemented as software executed by a processor.

[0012]FIGS. 1d and 1 e illustrate embodiments of signal encoding, transmission, and decoding implemented as hardware logic.

[0013]FIG. 2 illustrates one embodiment of a packet structure.

[0014]FIG. 3 is a flow diagram illustrating one embodiment of the encoding process.

[0015]FIG. 4 is a flow diagram illustrating one embodiment of the decoding process.

[0016]FIG. 5 illustrates one embodiment of image-to-block mapping.

[0017]FIG. 5a illustrates one embodiment of a shuffling pattern used in image-to-block mapping.

[0018]FIG. 6 is an illustration of exemplary complementary and interlocking block structures.

[0019]FIGS. 7a, 7 b, 7 c, 7 d illustrate one embodiment of shuffling patterns for Y blocks within a frame set.

[0020]FIG. 8 is an illustration of one embodiment of cumulative DR distribution for Buffer 0.

[0021]FIG. 8a is an illustration of one embodiment of a partial buffering process.

[0022]FIG. 9 illustrates one embodiment of the intra buffer YUV block shuffling process.

[0023]FIG. 10 illustrates one embodiment of the intra group VL-data shuffling process.

[0024]FIG. 11 illustrates one embodiment of Q code concatenation within a 3-block group.

[0025]FIG. 11a illustrates one embodiment of Q code concatenation for frame pairs including motion blocks.

[0026]FIG. 12 illustrates one embodiment of pixel data error caused by a ⅙ burst error loss.

[0027]FIG. 12a illustrates one embodiment of shuffling Q codes and distributing Q code bits.

[0028]FIG. 12b illustrates one embodiment of pixel data error caused by a ⅙ burst error loss of redistributed Q codes.

[0029]FIG. 12c illustrates one embodiment of pixel data error caused by a ⅙ burst error loss of reassigned Q codes.

[0030]FIG. 12d is a flowchart of one embodiment for a time-varying randomization of Q codes.

[0031]FIG. 13 illustrates one embodiment of shuffling.

[0032]FIG. 13a illustrates one embodiment of Motion Flag shuffling and of a fixed length data loss in one frame pair.

[0033]FIG. 14 illustrates one embodiment of a modular shuffling.

[0034]FIG. 14a illustrates one embodiment of a modular shuffling result and the fixed length data loss associated with the modular shuffling.

[0035]FIG. 14b illustrates an alternate embodiment of a modular shuffling result and the fixed length data loss associated with the modular shuffling.

[0036]FIG. 14c illustrates an alternate embodiment of a modular shuffling result and the fixed length data loss associated with the modular shuffling.

[0037]FIG. 15 illustrates one embodiment of variable length data buffering in a frame set.

[0038]FIG. 16 illustrates one embodiment of inter segment VL-data shuffling.

[0039]FIG. 17 is a flowchart of one embodiment for a delayed-decision, time-varying derandomization of Q codes.

DETAILED DESCRIPTION

[0040] The present invention provides a system and method for the time-varying randomization of a signal stream to provide for a robust error recovery. In addition, the present invention provides a system and method for time-varying derandomization of a randomized signal stream and alternately delayed-decoding of the signal stream. In the following description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that these specific details are not required in order to practice the present invention. In other instances, well known electrical structures and circuits are shown in block diagram form in order not to obscure the present invention unnecessarily.

[0041] The signal processing methods and structures are described in the context of one embodiment in which the signals are Adaptive Dynamic Range Coding (ADRC) encoded images, and more particularly to the recovery of lost or damaged (lost/damaged) compression constants such as dynamic range (DR) and minimum value (MIN). However, it is contemplated that the present invention is not limited to ADRC encoding and the particular compression constants generated; rather it will be apparent that the present invention is applicable to different compression technologies, different types of correlated data, including, but not limited to, sound data and the like, and different compression constants including, but not limited to, the maximum value (MAX) and central value (CEN) which may be used in ADRC processes. In addition, the present invention is applicable to different types of ADRC processes including edge-matching and non edge-matching ADRC. For further information regarding ADRC, see “Adaptive Dynamic Range Coding Scheme for Future HDTV Digital VTR”, Kondo, Fujimori, Nakaya, Fourth International Workshop on HDTV and Beyond, Sep. 4-6, 1991, Turin, Italy. ADRC has been established as a feasible real-time technique for coding and compressing images in preparation for constant bit-rate transmission.

[0042] In the above paper, three different kinds of ADRC are explained. These are achieved according to the following equations:

[0043] Non-edge-matching ADRC: $\begin{matrix} {{DR} = \quad {{MAX}\quad - \quad {MIN} + 1}} \\ {q = \quad \left\lfloor \frac{\left( {x - {MIN} + 0.5} \right) \cdot 2^{Q}}{DR} \right\rfloor} \\ {x^{\prime} = \quad \left\lfloor {\frac{\left( {q + 0.5} \right) \cdot {DR}}{2^{Q}} + {MIN}} \right\rfloor} \end{matrix}$

[0044] Edge-matching ADRC: $\begin{matrix} {{DR} = \quad {{MAX}\quad - \quad {MIN}}} \\ {q = \quad \left\lfloor {\frac{\left( {x - {MIN}} \right) \cdot \left( {2^{Q} - 1} \right)}{DR} + 0.5} \right\rfloor} \\ {x^{\prime} = \quad \left\lfloor {\frac{q \cdot {DR}}{2^{Q} - 1} + {MIN} + 0.5} \right\rfloor} \end{matrix}$

[0045] Multi-stage ADRC: $\begin{matrix} {{DR} = \quad {{MAX}\quad - \quad {MIN} + 1}} \\ {q = \quad \left\lfloor \frac{\left( {x - {MIN} + 0.5} \right) \cdot 2^{Q}}{DR} \right\rfloor} \\ {x^{\prime} = \quad \left\lfloor {\frac{\left( {q + 0.5} \right) \cdot {DR}}{2^{Q}} + {MIN}} \right\rfloor} \end{matrix}$

[0046] Where MAX′ is the averaged value of x′ in the case of q=2^(Q)−1; MIN′ is the averaged value of x′ in the case of q=0; and $\begin{matrix} {{DR}^{\prime} = \quad {{MAX}^{\prime}\quad - \quad {MIN}^{\prime}}} \\ {q = \quad \left\lfloor {\frac{\left( {x - {MIN}^{\prime}} \right) \cdot \left( {2^{Q} - 1} \right)}{{DR}^{\prime}} + 0.5} \right\rfloor} \\ {x^{\prime} = \quad \left\lfloor {\frac{q \cdot {DR}^{\prime}}{\left( {2^{Q} - 1} \right)} + {MIN}^{\prime} + 0.5} \right\rfloor} \end{matrix}$

[0047] where MAX represents the maximum level of a block, MIN represents the minimum level of a block, x represents the signal level of each sample, Q represents the number of quantization bits, q represents the quantization code (encoded data), x′ represents the decoded level of each sample, and the square brackets └·┘ represent a truncation operation performed on the value within the square brackets.

[0048] The signal encoding, transmission, and subsequent decoding processes are generally illustrated in FIG. 1a. Signal 100 is a data stream input to Encoder 110. Encoder 110 follows the Adaptive Dynamic Range Coding (“ADRC”) compression algorithm and generates Packets 1, . . . N for transmission along Transmission Media 135. Decoder 120 receives Packets 1, . . . N from Transmission Media 135 and generates Signal 130. Signal 130 is a reconstruction of Signal 100.

[0049] Encoder 110 and Decoder 120 can be implemented a variety of ways to perform the functionality described herein. In one embodiment, Encoder 110 and/or Decoder 120 may be embodied as software stored on media and executed by a general purpose or specifically configured computer system, typically including a central processing unit, memory and one or more input/output devices and co-processors, as shown in FIGS. 1b and 1 c. Alternately, the Encoder 110 and/or Decoder 120 may be implemented as logic to perform the functionality described herein, as shown in FIGS. 1d and 1 e. In addition, Encoder 110 and/or Decoder 120 can be implemented as a combination of hardware, software or firmware.

[0050] Embodiments of the circuits for coding, arranging, and the time-varying randomization of a signal stream to provide for a robust error recovery are shown in FIGS. 1b and 1 c. The methods described herein may be implemented on a specially configured or general purpose processor system 170. Instructions are stored in memory 190 and accessed by processor 175 to perform many of the steps described herein. Input 180 receives the input bitstream and forwards the data to processor 175. Output 185 outputs the data. In FIG. 1b, the output may consist of the encoded data. In FIG. 1c, the output may consist of the decoded data, such as image data decoded according to the methods described, sufficient to drive an external device such as display 195.

[0051] In one embodiment, Signal 100 may be a color video image comprising a sequence of video frames, each frame including information representative of an image in an interlaced video system. Each frame is composed of two fields, wherein one field contains data of the even lines of the image and the other field containing the odd lines of the image. The data includes pixel values that describe the color components of a corresponding location in the image. For example, in the present embodiment, the color components consist of the luminance signal Y, and color difference signals U, and V. It is readily apparent the process of the present invention can be applied to signals other than interlaced video signals. Furthermore, it is apparent that the present invention is not limited to implementations in the Y, U, V color space, but can be applied to images represented in other color spaces.

[0052] In alternate embodiments, Signal 100 may be, for example, two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, or N-channel sound.

[0053] Referring back to FIG. 1a, Encoder 110 divides the Y, U, and V signals and processes each group of signals independently in accordance with the ADRC algorithm. The following description, for purposes of simplifying the discussion, describes the processing of the Y signal; however, the encoding steps may be replicated for the U and V signals.

[0054] In one embodiment, Encoder 110 groups Y signals across two subsequent frames, referred to herein as a frame pair, of Signal 100 into three dimensional blocks (“3D”) blocks. In an alternate embodiment, a 3D block is generated from grouping two 2D blocks from the same localized area across a given frame pair, wherein a two dimensional 2D block is created by grouping localized pixels within a frame or a field. It is contemplated that the process described herein can be applied to different block structures. The grouping of signals will be further described in the image-to-block mapping section below.

[0055] In one embodiment, for a given 3D block, Encoder 110 calculates whether there is a change in pixel values between the 2D blocks forming the 3D block. A Motion Flag is set if there are substantial changes in values. As is known in the art, use of a Motion Flag allows Encoder 110 to reduce the number of quantization codes when there is localized image repetition within each frame pair. Encoder 110 also detects the maximum pixel intensity value (“MAX”) and the minimum pixel intensity value (“MIN”) within a 3D block. Using values MAX and MIN, Encoder 110 calculates the dynamic range (“DR”) for a given 3D block of data. For one embodiment DR=MAX−MIN+1 in the case of non-edge-matching ADRC. For edge-matching ADRC, DR=MAX−MIN. In some embodiments the encoder may also determine a central value (CEN) that has a value between MAX and MIN. In one embodiment, CEN may be determined as CEN=MIN+DR/2.

[0056] In an alternative embodiment, Encoder 110 encodes signals on a frame by frame basis for a stream of frames representing a sequence of video frames. In another embodiment, Encoder 110 encodes signals on a field by field basis for a stream of fields representing a sequence of video fields. Accordingly, Motion Flags are not used and 2D blocks may be used to calculate the MIN, MAX, CEN and DR values.

[0057] In one embodiment, Encoder 110 references the calculated DR against a threshold table of DR threshold values and corresponding Qbit values to determine the number of quantization bits (“Qbits”) used to encode pixels within the block corresponding to the DR. Encoding of a pixel results in a quantization code (“Q code”). The Q codes are the relevant compressed image data used for storage or transmission purposes.

[0058] In one embodiment, the Qbit selection is derived from the DR of a 3D block. Accordingly, all pixels within a given 3D block are encoded using the same Qbit, resulting in a 3D encoded block. The collection of Q codes, MIN, Motion Flag, and DR for a 3D encoded block is referred to as a 3D ADRC block. Alternately, 2D blocks are encoded and the collection of Q codes, MIN, and DR for a given 2D block results in 2D ADRC blocks. As noted earlier, the MAX value and CEN value may be used in place of the MIN value.

[0059] A number of threshold tables can be implemented. In one embodiment, the threshold table consists of a row of DR threshold values. A Qbit corresponds to the number of quantization bits used to encode a range of DR values between two adjacent DRs within a row of the threshold table. In an alternative embodiment, the threshold table includes multiple rows and selection of a row depends on the desired transmission rate. Each row in the threshold table is identified by a threshold index. A detailed description of one embodiment of threshold selection is described below in the discussion of partial buffering. A further description of an example of ADRC encoding and buffering is disclosed in U.S. Pat. No. 4,722,003 entitled “High Efficiency Coding Apparatus” and U.S. Pat. No. 4,845,560 also entitled “High Efficiency Coding Apparatus”, assigned to the assignee of the present invention.

[0060] Here forth the Q codes are referred to as variable length data (“VL-data”). In addition, the DR, MIN, MAX, CEN and Motion Flag are referred to as block attributes. Selected block attributes, together with the threshold index, constitute the fixed length data (“FL-data”), also referred to herein as compression parameters. Furthermore, in view of the above discussion, the term block attribute describes a parameter associated with a component of a signal element, wherein a signal element includes multiple components.

[0061] An advantage of not including the Qbit code value in the FL-data is that no additional bits are need be transmitted for each ADRC block. A disadvantage of not including the Qbit value is that, if the DR is lost or damaged during transmission or storage, the Q codes cannot be easily recovered. The ADRC decoder must determine how many bits were used to quantize the block without relying on any DR information.

[0062] However, in one embodiment, the Qbit value may be sent implicitly by time-varying randomization of the VL-data. In one embodiment, the Qbit value of a current block of data, together with the Qbit values of a number of previous blocks, may be used as a randomizing or seed value for a pseudorandom number generator (PNG). In one embodiment, the three previous Qbit values may be used. However, any number of temporally adjacent values (either prior or subsequent) may be used to generate the seed value. For purposes of discussion herein, temporally adjacent may be construed to include any prior or subsequent block of data.

[0063] In one embodiment, each successive Qbit value is concatenated to the right of the current seed value. The PNG creates a statistically distinct pseudorandom number sequence for a unique seed value and creates the same statistically distinct sequence for each application of the same seed value. The pseudorandom number sequence may then be used to transform the VL-data. In alternate embodiments, the FL-data may be transformed or both the VL-data and FL-data may be transformed. In one embodiment, the transformation T of the VL-data is achieved by applying a bitwise XOR (exclusive OR) function to the pseudorandom number sequence (y) and the VL-data (x). Thus:

T(x)=x⊕y.

[0064] In this embodiment, the bitwise XOR function is used, as the inverse transformation is exactly the same as for the original, forward transformation. That is:

T ⁻¹(T(x))=(x⊕y)⊕y=x.

[0065] In alternate embodiments, a variety of sets of transformations may be used to generate the statistically distinct sequences. For example, a table of pre-defined sequences may be used.

[0066] In one embodiment, a similar process may be used to decode the Qbit value from the DR of the current block. If the DR arrives undamaged, the Qbit value may be determined by using the threshold table as was used for the Q code encoding. The DR is used to look-up the Qbit value in the table and the Qbit value is then used as a seed value to the PNG to produce the pseudorandom number sequence. The decoder transforms the randomized VL-data by applying a bitwise XOR function to the pseudorandom number sequence and the randomized VL-data to produce the original, non-randomized VL-data. In this embodiment, because the same PNG and seed value are used, the same pseudorandom number sequence is produced.

[0067] In one embodiment, if the DR is damaged or lost, the decoder attempts to decode the block with all possible Qbit values and associated possible seed values. A local correlation metric is applied to each candidate decoding, and a confidence metric is computed for the block.

[0068] In this embodiment, the decoder implements a delayed-decision decoder that delays the dequantization by four blocks. In one embodiment, if the decoder calculates four consecutive low confidence metrics, it may conclude that the decoding of the oldest block was incorrect. The decoder may then return to the candidate seed value used for the oldest block and try the next-most-likely decoding of the oldest block. The decoder may then re-derandomize the three most recent blocks using a second guess at a seed value. This process may continue until the decoder produces a sequence of four decoded blocks in which the most recent block's confidence metric is large.

[0069] Thus, in one embodiment, the Qbit value may be implicitly transmitted by means of the time-varying randomization. In alternate embodiments, any data may be implicitly transmitted. For example, the Motion Flag or a combination of the Qbit value and the Motion Flag may be used to generate the pseudorandom number sequence and, thus, be implicitly transmitted.

[0070] One embodiment of a circuit for coding, arranging, and the time-varying randomization of a signal stream to provide for a robust error recovery is shown in FIG. 1d. An input signal is received and time-varying VL-data randomization logic 144 generates randomized Q codes from the encoded and shuffled data. The output from the time-varying VL-data randomization logic 144 may be further encoded as discussed herein.

[0071]FIG. 1e illustrates an embodiment of a circuit for recovering lost or damaged DR values. An input signal is received and time-varying VL-data derandomization logic 150 derandomizes the Q codes from the input bitstream and recovers lost or damaged dynamic range constants. The output signal from the time-varying VL-data derandomization logic 150 may be further decoded and deshuffled as described herein.

[0072] Frames, block attributes, and VL-data describe a variety of components within a video signal. The boundaries, location, and quantity of these components are dependent on the transmission and compression properties of a video signal. In one embodiment, these components are varied, shuffled, and randomized within a bitstream of the video signal to ensure a robust error recovery during transmission losses.

[0073] For illustrative purposes, the following description provides for a ⅙ consecutive packet transmission loss tolerance, pursuant to an ADRC encoding and shuffling of a video signal. Accordingly, the following definition and division of components exist for one embodiment. Other embodiments also are contemplated. A data set may include a partition of data of a video or other type of data signal. Thus, in one embodiment, a frame set may be a type of data set that includes one or more consecutive frames. A segment may include a memory with the capacity to store a one-sixth division of the Q codes and block attributes included in a frame set. Further, a buffer may include a memory with the capacity to store a one-sixtieth division of the Q codes and block attributes included in a frame set. The shuffling of data may be performed by interchanging components within segments and/or buffers. Subsequently, the data stored in a segment may be used to generate packets of data for transmission. Thus, in the following description, if a segment is lost all the packets generated from the segment are lost during transmission. Similarly, if a fraction of a segment is lost then a corresponding number of packets generated from the segment are lost during transmission.

[0074] Although, the following description refers to a ⅙ consecutive packet loss for data encoded using ADRC encoding, it is contemplated that the methods and apparatus described herein are applicable to a design of a 1/n consecutive packets loss tolerance coupled to a variety of encoding/decoding schemes.

[0075]FIG. 2 illustrates one embodiment of Packet Structure 200 used for the transmission of the data across point-to-point connections as well as networks. Packet Structure 200 is generated by Encoder 110 and is transmitted across Transmission Media 135. For one embodiment, Packet Structure 200 comprises five bytes of header information, eight DR bits, eight MIN bits, a Motion Flag bit, a five bit threshold index, and 354 bits of Q codes. In an alternate embodiment, the MIN bits may be replaced with CEN bits. The packet structure described herein is illustrative and may typically be implemented for transmission in an asynchronous transfer mode (“ATM”) network. However, the present invention is not limited to the packet structure described and a variety of packet structures that are used in a variety of networks can be utilized.

[0076] As noted earlier, Transmission Media (e.g., media) 135 is not assumed to provide error-free transmission and therefore packets may be lost or damaged. As noted earlier, conventional methods exist for detecting such loss or damage, but substantial image degradation will generally occur. The system and methods of the present invention therefore teach source coding to provide robust recovery from such loss or damage. It is assumed throughout the following discussion that a burst loss, that is the loss of several consecutive packets, is the most probable form of error, but some random packet losses might also occur.

[0077] To ensure a robust recovery for the loss of one or more consecutive packets of data, the system and methods of the present invention provide multiple level shuffling. In particular, the FL-data included in a transmitted packet comprise data from spatially and temporally disjointed locations of an image. Shuffling data ensures that any burst error is scattered and facilitates error recovery. As will be described below, the shuffling allows recovery of block attributes and Qbit values.

Data Encoding/Decoding

[0078]FIG. 3 is a flow diagram illustrating one embodiment of the encoding process performed by Encoder 110. FIG. 3 further describes an overview of the shuffling process used to ensure against image degradation and to facilitate a robust error recovery.

[0079] In step one of FIG. 3, an input frame set, also referred to as a display component, may be decimated to reduce the transmission requirements. The Y signal is decimated horizontally to three-quarters of its original width and the U and V signals are each decimated to one-half of their original height and one-half of their original width. This results in a 3:1:0 video format with 3960 Y blocks, 660 U blocks and 660 V blocks in each frame pair. As noted earlier, the discussion will describe the processing of Y signals; however, the process is applicable to the U and V signals. At step two, the two Y frame images are mapped to 3D blocks. At step three, 3D blocks are shuffled. At step four, ADRC buffering and encoding is used. At step five, encoded Y, U and V blocks are shuffled within a buffer.

[0080] At step six, the VL-data for a group of encoded 3D blocks and their corresponding block attributes are shuffled. At step seven, the FL-data is shuffled across different segments. At step eight, post-amble filling is performed in which variable space at the end of a buffer is filled with a predetermined bitstream. At step nine, the VL-data is shuffled across different segments.

[0081] For illustrative purposes the following shuffling description provides a method for manipulation of pixel data before and after encoding. For an alternative embodiment, independent data values are shuffled/deshuffled via hardware. In particular, the hardware maps the address of block values to different addresses to implement the shuffling/deshuffling process. However, address mapping may not be possible for data dependent values because shuffling may follow the processing of data. The intra group VL-data shuffling described below includes the data dependent values. Further, for illustrative purposes the following shuffling description occurs on discrete sets of data. However, for alternative embodiments a signal may be defined based on multiple data levels ranging from bits, to pixels, and to frames. Shuffling may be possible for each level defined in the signal and across different data levels of the signal.

[0082]FIG. 4 is a flow diagram illustrating one embodiment of decoding process performed by Decoder 120. The conversion and de-shuffling processes may be the inverse of the processes represented in FIG. 3. However, in one embodiment, time-varying de-randomization of Q codes and delayed decision decoding may be performed within step 435.

Image-to-block Mapping

[0083] In the present embodiment, a single frame typically may comprise 5280 2D blocks wherein each 2D block comprises 64 pixels. Thus, a frame pair may comprise 5280 3D blocks as a 2D block from a first frame and a 2D block from a subsequent frame are collected to form a 3D block.

[0084] Image-to-block mapping is performed for the purpose of dividing a frame or frame set of data into 2D blocks or 3D blocks respectively. Moreover, image-to-block mapping includes using a complementary and/or interlocking pattern to divide pixels in a frame to facilitate robust error recovery during transmission losses. However, to improve the probability that a given DR value is not too large, each 2D block is constructed from pixels in a localized area.

[0085]FIG. 5 illustrates one embodiment of an image-to-block mapping process for an exemplary 16-pixel section of an image. Image 500 comprises 16 pixels forming a localized area of a single frame. Each pixel in Image 500 is represented by an intensity value. For example, the pixel in the top left-hand side of the image has an intensity value equal to 100 whereas the pixel in the bottom right hand side of the image has an intensity value of 10.

[0086] In one embodiment, pixels from different areas of Image 500 are used to create 2D Blocks 510, 520, 530, and 540. 2D Blocks 510, 520, 530, and 540 are encoded, shuffled (as illustrated below), and transmitted. Subsequent to transmission, 2D Blocks 510, 520, 530, and 540 are recombined and used to form Image 550. Image 550 is a reconstruction of Image 500.

[0087] To ensure accurate representation of Image 500 despite a possible transmission loss, is an interlocking complementary block structure, one embodiment of which is illustrated in FIG. 5, is used to reconstruct Image 550. In particular, the pixel selection used to create 2D Blocks 510, 520, 530, and 540 ensures that a complementary and/or interlocking pattern is used to recombine the blocks when Image 550 is reconstructed. Accordingly, when a particular 2D block's attribute is lost during transmission, contiguous sections of Image 550 are not distorted during reconstruction.

[0088] For example, as illustrated in FIG. 5, the DR of 2D Block 540 is lost during data transmission. However, during reconstruction of Image 550, the decoder utilizes multiple neighboring pixels of neighboring blocks through which a DR can be recovered for the missing DR of 2D Block 540. In addition, as will be subsequently described, the combination of complementary patterns and shifting increases the number of neighboring pixels, preferably maximizing the number of neighboring pixels that originate from other blocks, significantly improving DR and MIN recovery.

[0089]FIG. 5a illustrates one embodiment of a shuffling pattern used to form 2D blocks in one embodiment of the image-to-block mapping process. An image is decomposed into two sub-images, Sub-Image 560 and Sub-Image 570, based on alternating pixels. Rectangular shapes are formed in Sub-Image 560 to delineate the 2D block boundaries. For purposes of discussion, the 2D blocks are numbered 0, 2, 4, 7, 9, 11, 12, 14, 16, 19, 21, and 23. Tile 565 illustrates the pixel distribution for a 2D block within Sub-Image 560.

[0090] In Sub-Image 570, the 2D block assignment is shifted by eight pixels horizontally and four pixels vertically. This results in a wrap around 2D block assignment and overlap when Sub-Images 560 and 570 are combined during reconstruction. The 2D blocks are numbered 1, 3, 5, 6, 8, 10, 13, 15, 17, 18, 20, and 22. Tile 575 illustrates the pixel distribution for a 2D block within Sub-Image 570. Tile 575 is the complementary structure of Tile 565. Accordingly, when a particular block's attribute is lost during transmission, neighboring pixels through which a block attribute can be recovered for the missing 2D block exists. Additionally, an overlapping 2D block of pixels with a similar set of block attributes exist. Therefore, during reconstruction of the image the decoder has multiple neighboring pixels from adjacent 2D blocks through which a lost block attribute can be recovered.

[0091]FIG. 6 illustrates other complementary and interlocking 2D block structures. Other structures may also be utilized. Similar to FIG. 5, these 2D block structures illustrated in FIG. 6, ensure surrounding 2D blocks are present despite transmission losses for a given 2D block. However, Patterns 610 a, 610 b, and 610 d use horizontal and/or vertical shifting during the mapping of pixels to subsequent 2D blocks. Horizontal shifting describes shifting the tile structure in the horizontal direction a predetermined number of pixels prior to beginning a new 2D block boundary. Vertical shifting describes shifting the tile structure in the vertical direction a predetermined number of pixels prior to beginning a new 2D block boundary. In application, horizontal shifting may be applied, vertical shifting may only be applied, or a combination of horizontal and vertical shifting may be applied.

[0092] Pattern 610 a illustrates a spiral pattern used for image-to-block mapping. The spiral pattern follows a horizontal shifting to create subsequent 2D blocks during the image to-block mapping process. Patterns 610 b and 610 d illustrate complementary patterns wherein pixel selection is moved by a horizontal and vertical shifting to create subsequent 2D blocks during the image-to-block mapping process. In addition, Patterns 610 b and 610 d illustrate alternating offsets on pixels selection between 2D blocks. Pattern 610 c illustrates using an irregular sampling of pixels to create a 2D block for image-to-block mapping. Accordingly, the image-to-block mapping follows any mapping structure provided a pixel is mapped to a 2D block only once.

[0093]FIG. 5, FIG. 5a and FIG. 6 describe image-to-block mapping for 2D block generation. It is readily apparent that the processes are applicable to 3D blocks. As described above, 3D block generation follows the same boundary definition as a 2D block, however the boundary division extends across a subsequent frame resulting in a 3D block. In particular, a 3D block is created by collecting the pixels used to define a 2D block in a first frame together with pixels from a 2D block in a subsequent frame. In one embodiment, both pixels in the 2D block from the first frame and the 2D block from the subsequent frame are from the exact same location.

Intra Frame Set Block Shuffling

[0094] The pixel values for a given image are closely related for a localized area. However, in another area of the same images the pixel values may have significantly different values. Thus, subsequent to encoding, the DR and MIN values for spatially close 2D or 3D blocks in a section of an image have similar values, whereas the DR and MIN values for blocks in another section of the image may be significantly different. Accordingly, when buffers are sequentially filled with encoded data from spatially close 2D or 3D blocks of an image, a disproportionate usage of buffer space occurs. Intra frame set block shuffling occurs prior to ADRC encoding and includes shuffling the 2D or 3D blocks generated during the image-to-block mapping process. This shuffling process ensures an equalized buffer usage during a subsequent ADRC encoding.

[0095]FIGS. 7a-7 d illustrate one embodiment of shuffling 3D Y-blocks. The 3D Y-blocks in FIGS. 7a-7 d are generated from applying the image-to-block mapping process described above to a frame pair containing only Y signals. The 3D Y-blocks are shuffled to ensure that the buffers used to store the encoded frame pair contain 3D Y-blocks from different parts of the frame pair. This leads to similar DR distribution during ADRC encoding. A similar DR distribution within each buffer leads to consistent buffer utilization.

[0096]FIG. 7a-7 d also illustrate 3D block shuffling using physically disjointed 3D blocks to ensure that transmission loss of consecutive packets results in damaged block attributes scattered across the image, as opposed to a localized area of the image.

[0097] The block shuffling is designed to widely distribute block attributes in the event of small, medium, or large, burst packet losses occur. In the present embodiment, a small burst loss is one in which a few packets are lost; a medium loss is one in which the amount of data that can be held in one buffer is lost; and a large loss is one in which the amount of data that can be held in one segment is lost. During the 3D block shuffling each group of three adjacent blocks are selected from relatively remote parts of the image. Accordingly, during the subsequent intra group VL-data shuffling (to be detailed later), each group is formed from 3D blocks that have differing statistical characteristics. Distributed block attribute losses allow for a robust error recovery because a damaged 3D block is surrounded by undamaged 3D blocks and the undamaged 3D blocks can be used to recover lost data.

[0098]FIG. 7a illustrates a frame pair containing 66 3D Y-blocks in the horizontal direction and 60 3D Y-blocks in the vertical direction. The 3D Y-blocks are allocated into Segments 0-5. As illustrated, the 3D Y-block assignment follows a two by three column section such that one 3D Y-block from each section is associated with a segment. Thus, if no further shuffling is performed and a burst loss of the first 880 packets occurs, all the block attributes associated with Segment 0 are lost. However, as later described, FL-data shuffling is performed to further disperse block attribute losses.

[0099]FIG. 7b illustrates the scanning order of 3D Y-blocks numbered “0” used to enter into Segment 0. Each “0” 3D Y-block of FIG. 7a is numbered 0, 1, 2, 3, . . . 659 to illustrate their location in the stream that is inputted into Segment 0. Using the block numbering to allocate segment assignment the remaining 3D Y-blocks are inputted into Segments 1-5, thus resulting in a frame pair shuffled across multiple segments.

[0100]FIG. 7c illustrates the 660 3D Y-blocks comprising one segment. The 3D Y-blocks numbered 0-65 are inputted into Buffer 0. Similarly the 3D Y-blocks adjacent to the numbered 3D Y-blocks are inputted into Buffer 1. The process is repeated to fill Buffers 2-9. Accordingly, damage to a buffer during data transmission results in missing 3D Y-blocks from different parts of the image.

[0101]FIG. 7d illustrates the final ordering of the “0” 3D Y-blocks across a buffer. 3D Y-blocks 0, 1, and 2 occupy the first three positions in the buffer. The process is repeated for the rest of the buffer. Accordingly, loss of three 3D Y-blocks during data transmission results in missing 3D Y-blocks from distant locations within the image.

[0102]FIGS. 7a-d illustrate one embodiment of 3D block distributions for 3D Y-blocks of a frame set. In alternative embodiments, however, 3D block distributions for 3D U-blocks and 3D V-blocks are available. The 3D U-blocks are generated from applying the image-to-block mapping process, described above, to a frame set containing only U signals. Similarly, 3D V-blocks are generated from applying the image-to-block mapping process to a frame set containing only V signals. Both the 3D U-block and the 3D V-block follow the 3D Y-block distribution described above. However, as previously described, the number of 3D U-blocks and 3D V-blocks each have a 1:6 proportion to 3D Y-blocks.

[0103]FIGS. 7a-d are used to illustrate one embodiment of intra frame set block shuffling for a Y signal such that burst error of up to ⅙ of the packets lost during transmission is tolerated and further ensures equalized buffer use. It will be appreciated by one skilled in the art that segment, buffer, and ADRC block assignments can be varied to ensure against 1/n burst error loss or to modify buffer utilization.

Partial Buffering

[0104] As illustrated in FIG. 3, the ADRC encoding and buffering processes occur in step four. Dependent on the encoding technique, 2D or 3D blocks generated during the image-to-block mapping process are encoded resulting in 2D or 3D ADRC blocks. In one embodiment, a 3D ADRC block contains Q codes, a MIN value, a Motion Flag, and a DR. Similarly, in one embodiment, a 2D ADRC block contains Q codes, a MIN, and a DR. A 2D ADRC block, however, does not include a Motion Flag because the encoding is performed on a single frame or a single field.

[0105] A number of buffering techniques are found in the prior art (see for example, High Efficiency Coding Apparatus, U.S. Pat. No. 4,845,560 of Kondo et. al. and High Efficiency Coding Apparatus, U.S. Pat. No. 4,722,003 of Kondo). Both High Efficiency Coding Apparatus patents are hereby incorporated by reference.

[0106] The partial buffering process set forth below describes an innovative method for determining the encoding bits used in ADRC encoding. In particular, partial buffering describes a method of selecting threshold values from a threshold table designed to provide a constant transmission rate between remote terminals while restricting error propagation. In an alternative embodiment, the threshold table is further designed to provide maximum buffer utilization. In one embodiment, a buffer is a memory that stores a one-sixtieth division of encoded data from a given frame set. The threshold values are used to determine the number of Qbits used to encode the pixels in 2D or 3D blocks generated from the image-to-block mapping process previously described.

[0107] The threshold table includes rows of threshold values, also referred to as a threshold set, and each row in the threshold table is indexed by a threshold index. In one embodiment, the threshold table is organized with threshold sets that generate a higher number of Q code bits located in the upper rows of the threshold table. Accordingly, for a given buffer having a predetermined number of bits available, Encoder 110 moves down the threshold table until a threshold set that generates less than a predetermined number of bits is encountered. The appropriate threshold values are used to encode the pixel data in the buffer.

[0108]FIG. 8 illustrates one embodiment of selected threshold values and the DR distribution for Buffer 0. The vertical axis of FIG. 8 includes the cumulative DR distribution. For example, the value “b” is equal to the number of 3D or 2D blocks whose DR is greater than or equal to L₃. The horizontal axis includes the possible DR values. In one embodiment, DR values range from 0 to 255. Threshold values L₄, L₃, L₂, and L₁ describe a threshold set used to determine the encoding of a buffer.

[0109] In one embodiment, all blocks stored in Buffer 0 are encoded using threshold values L₄, L₃, L₂, and L₁. Accordingly, blocks with DR values greater than L₄ have their pixel values encoded using four bits. Similarly, all pixels belonging to blocks with DR values between L₃ and L₄ are encoded using three bits. All pixels belonging to blocks with DR values between L₂ and L₃ are encoded using two bits. All pixels belonging to blocks with DR values between L₁ and L₂ are encoded using one bit. Finally, all pixels belonging to blocks with DR values smaller than L₁ are encoded using zero bits. L₄, L₃, L₂, and L₁ are selected such that the total number of bits used to encode all the blocks in Buffer 0 is as close as possible to a limit of 31,152 bits without exceeding the limit of 31,152.

[0110]FIG. 8a illustrates the use of partial buffering in one embodiment. Frame 800 is encoded and stored in Buffers 0-59. Provided a transmission error inhibits data recovery, the decoding process is stalled for Frame 800 until error recovery is performed on the lost data. However, partial buffering restricts the error propagation within a buffer, thus allowing decoding of the remaining buffers. In one embodiment, a transmission error inhibits the Qbit and Motion Flag recovery for Block 80 in Buffer 0. Partial buffering limits the error propagation to the remaining blocks within Buffer 0. Error propagation is limited to Buffer 0 because the end of Buffer 0 and the beginning of Buffer 1 are known due to the fixed buffer length. Accordingly, Decoder 120 can begin processing of blocks within Buffer 1 without delay. Additionally, the use of different threshold sets to encode different buffers allows Encoder 110 to maximize/control the number of Q codes bits included in a given buffer, thus allowing a higher compression ratio. Furthermore, the partial buffering process allows for a constant transmission rate because Buffers 0-59 consist of a fixed length.

[0111] In one embodiment, a buffer's variable space is not completely filled with Q code bits because a limited number of threshold sets exist. Accordingly, the remaining bits in the fixed length buffer are filled with a predetermined bitstream pattern referred to as a post-amble. As will be described subsequently, the post-amble enables bidirectional data recovery because the post-amble delineates the end of the VL-data prior to the end of the buffer.

Intra Buffer YUV Block Shuffling

[0112] Y, U, and V, signals each have unique statistical properties. To improve the Qbit and Motion Flag recovery process (described below) the Y, U, and V signals are multiplexed within a buffer. Accordingly, transmission loss does not have a substantial effect on a specific signal.

[0113]FIG. 9 illustrates one embodiment of the intra buffer YUV block shuffling process in which YUV ADRC blocks are derived from the Y, U, and V signals respectively. Buffer 900 illustrates the ADRC block assignments after intra frame set block shuffling. Buffer 900 comprises 66 Y-ADRC blocks followed by 11 U-ADRC blocks which are in turn followed by 11 V-ADRC blocks. Buffer 910 shows the YUV ADRC block organization after intra buffer YUV block shuffling. As illustrated, three Y-ADRC blocks are followed by a U-ADRC block or three Y-ADRC blocks are followed by a V-ADRC block. Intra buffer YUV block shuffling reduces similarity between adjacent block's bitstreams within the buffer. Alternative embodiments of intra buffer YUV block shuffling with a different signal, i.e., YUV ratios or other color spaces are possible dependent on the initial image format.

Intra Group VL-data Shuffling

[0114] In one embodiment, Intra group VL-data shuffling comprises three processing steps. The three processing steps include Q code concatenation, Q code reassignment, and time-varying randomizing of Q codes. FIG. 10 illustrates one embodiment of intra group VL-data shuffling wherein three processing steps are applied consecutively to Q codes stored in a buffer. In alternative embodiments, the time-varying randomization processing step only may be applied to perform intra group VL-data shuffling. Each processing step independently assists in the error recovery of data lost during transmission. Accordingly, each processing step is described independently.

[0115] 1. Q code Concatenation

[0116] Q code concatenation ensures that groups of ADRC blocks are decoded together. Group decoding facilitates error recovery because additional information is available from neighboring blocks during the data recovery process detailed below. For one embodiment, Q code concatenation may be applied independently to each group of three ADRC blocks stored in a buffer. In an alternative embodiment, a group includes ADRC block(s) from different buffers. The concatenation of Q codes across three ADRC blocks is described as generating one concatenated ADRC tile. FIG. 11 and FIG. 11a illustrate one embodiment of generating concatenated ADRC tiles.

[0117]FIG. 11 illustrates one embodiment of generating a concatenated ADRC tile from 2D ADRC blocks. Specifically, the concatenation is performed for each Q code (q₀-q₆₃) included in 2D ADRC Blocks 0, 1, and 2 resulting in the sixty four Q codes of Concatenated ADRC Tile A. For example, the first Q code q_(0,0) (0th quantized value) of 2D ADRC Block 0 is concatenated to the first Q code q_(0,1) of 2D ADRC Block 1. The two concatenated Q codes are in turn concatenated to the first Q code q_(0,2) of 2D ADRC Block 2, thus resulting in Q₀ of Concatenated ADRC Tile A. The process is repeated until Q₆₃ is generated. Alternatively, the generation of Q_(i) in Concatenated ADRC Tile A is described by the equation

Q_(i)=[q_(i,0),q_(i,1),q_(i,2)] i=0,1,2, . . . 63

[0118] Additionally, associated with each Q_(i) in Concatenated ADRC Tile A there is a corresponding number of N bits that represents the total number of bits concatenated to generate a single Q_(i).

[0119]FIG. 11a illustrates one embodiment of generating a concatenated ADRC tile from frame pairs including motion blocks. A motion block is a 3D ADRC block with a set Motion Flag. The Motion Flag may be set when a predetermined number of pixels within two 2D blocks structure created by image-to-block mapping process described earlier, change in value between a first frame and a subsequent frame. In an alternative embodiment, the Motion Flag may be set when the maximum value of each pixel change between the 2D block of a first frame and a subsequent frame exceeds a predetermined value. In contrast, non-motion (i.e., stationary) block includes a 3D ADRC block with a Motion Flag that is not set. The Motion Flag remains un-set when a predetermined number of pixels within the two 2D blocks of a first frame and a subsequent frame do not change in value. In an alternative embodiment, the Motion Flag remains un-set when the maximum value of each pixel change between a first frame and a subsequent frame does not exceed a predetermined value.

[0120] A motion block includes Q codes from an encoded 2D block in a first frame and an encoded 2D block in a subsequent frame. The collection of Q codes corresponding to a single encoded 2D block are referred to as an ADRC tile. Accordingly, a motion block generates two ADRC tiles. However, due to the lack of motion, a stationary block need only include one-half of the number of Q codes of a motion block, thus generating only one ADRC tile. In the present embodiment, the Q codes of a stationary block are generated by averaging corresponding pixels values between a 2D block in a first frame and a corresponding 2D block in a subsequent frame. Each averaged pixel value is subsequently encoded resulting in the collection of Q codes forming a single ADRC tile. Accordingly, Motion Blocks 1110 and 1130 generate ADRC Tiles 0, 1, 3, and 4. Stationary Block 1120 generates ADRC Tile 2.

[0121] The concatenated ADRC tile generation of FIG. 11a concatenates the Q codes for ADRC Tiles 0-4 into Concatenated ADRC Tile B. Specifically, the concatenation may be performed for each Q code (q₀-q₆₃) included in ADRC Tiles 0, 1, 2, 3 and 4 resulting in the sixty four Q codes of Concatenated ADRC Tile B. Alternatively, the generation of each Q code, Q_(i), in Concatenated ADRC Tile B may be described by the mathematical equation

Q_(i)=[q_(i,0), q_(i,1), q_(i,2), q_(i,3), q_(i,4)] i=0, 1, 2, . . . 63

[0122] 2. Q Code Reassignment

[0123] Q code reassignment ensures that bit errors caused by transmission losses are localized within spatially disjointed pixels. In particular, during Q code reassignment, Q codes are redistributed and the bits of the redistributed Q codes are shuffled. Accordingly, Q code reassignment facilitates error recovery because undamaged pixels surround each damaged pixel. Furthermore, DR and MIN recovery is aided because pixel damage is distributed evenly throughout an ADRC block.

[0124]FIG. 12 illustrates one embodiment of pixel corruption during the transmission loss of a ⅙ burst error loss. In particular, 2D ADRC Blocks 1210, 1220, and 1230 each include sixty-four pixels encoded using three bits. Accordingly, each pixel, P₀ through P₆₃, of a 2D ADRC block may be represented by three bits. 2D ADRC Block 1210 shows the bit loss pattern, indicated by a darkened square, of bits when the first bit of every six bits are lost. Similarly, the bit loss pattern when the second bit or fourth bit of every six bits are lost are shown in 2D ADRC Blocks 1220 and 1230, respectively. FIG. 12 illustrates that without Q code reassignment one-half of all the pixels 2D ADRC Blocks 1210, 1220, and 1230 are corrupted for a ⅙ burst error loss.

[0125] For one embodiment, Q code reassignment may be applied independently to each concatenated ADRC tile stored in a buffer, thus ensuring that bit errors are localized within spatially disjointed pixels upon deshuffling. In an alternative embodiment, Q code reassignment may be applied to each ADRC block stored in a buffer.

[0126]FIG. 12a illustrates one embodiment of Q code reassignment that generates a bitstream of shuffled Q code bits from a concatenated ADRC tile. Table 122 and Table 132 illustrate the Q code redistribution. Bitstreams 130 and 140 illustrate the shuffling of Q code bits.

[0127] Table 122 shows the concatenated Q codes for Concatenated ADRC Tile A. Q₀ is the first concatenated Q code and Q₆₃ is the final concatenated Q code. Table 132 illustrates the redistribution of Q codes. For one embodiment Q₀, Q₆, Q₁₂, Q₁₈, Q₂₄, Q₃₀, Q₃₆, Q₄₂, Q₄₈, and Q₆₀ are included in a first set, partition 0. Following Table 132, the following eleven concatenated Q codes are included in partition 1. The steps are repeated for partitions 2-5. The boundary of a partition is delineated by a vertical line in Table 132. This disjointed spatial assignment of concatenated Q codes to six partitions ensures that a ⅙ burst error loss results in a bit loss pattern distributed across a group of non-consecutive pixels.

[0128]FIG. 12b illustrates one embodiment of the bit pattern loss created by the ⅙ burst error loss of redistributed Q codes. In particular, 2D ADRC blocks 1215, 1225, and 1235 each include sixty four pixels encoded using three bits. Accordingly, each pixel P₀ through P₆₃, of each 2D ADRC block, is represented by three bits. In 2D ADRC Blocks 1215, 1225, and 1235 the bit loss pattern, indicated by a darkened square, is localized across a group of consecutive pixels. Accordingly, only eleven non-consecutive pixels within each 2D ADRC Block 1215, 1225, and 1235 are corrupted for a given segment loss. In an alternative embodiment, Q code assignment to partitions include Q codes from different motion blocks, thus providing both a disjointed spatial and temporal assignment of Q codes to six segments. This results in additional undamaged spatial-temporal pixels during a ⅙ burst error loss and further facilitates a more robust error recovery.

[0129] Referring to FIG. 12a, the bits of the redistributed Q codes in Table 132 are shuffled across a generated bitstream so that adjacent bits in the bitstream are from adjacent partitions. The Q code bits for all the partitions in Table 132 are concatenated into Bitstream 130. For a given partition adjacent bits in Bitstream 130 are scattered to every sixth bit location in the generated Bitstream 140. Accordingly, bits number zero through five, of Bitstream 140, include the first bit from the first Q code in each partition. Similarly, bits number six through eleven, of Bitstream 140, include the second bit from the first Q code in each partition. The process is repeated for all Q code bits. Accordingly, a ⅙ burst error loss will result in a spatially disjointed pixel loss.

[0130]FIG. 12c illustrates one embodiment of the bit pattern loss created by the ⅙ burst error loss of reassigned (i.e., redistributed and shuffled) Q codes. In particular, 2D ADRC Blocks 1217, 1227, and 1237 each include sixty four pixels encoded using three bits. Accordingly, each pixel P₀ through P₆₃, of each 2D ADRC Block, is represented by three bits. In 2D ADRC Blocks 1217, 1227, and 1237, the bit loss pattern, indicated by a darkened square, is distributed across spatially disjointed pixels, thus facilitating pixel error recovery.

[0131] 3. Time-varying Randomization of Q Codes

[0132] If the dynamic range (DR) of a particular block is lost or damaged in transmission, the ADRC decoder must determine how many bits were used to quantize that block without relying on the DR. In one embodiment, this process may be accomplished by applying time-varying randomization to each VL-data block.

[0133] Randomization may be applied to destroy the correlation of incorrect candidate decodings that may be generated during a subsequent data decoding process in order to estimate lost or damaged data. The randomization process does not change the properties of the correct candidate decoding, as it is restored to its original condition. In particular, by utilizing randomization across multiple blocks of data, subsequent derandomized data will tend to result in candidate decodings that exhibit highly correlated properties indicative that the corresponding candidate decoding is a good selection.

[0134] The randomization process is chosen such that a correct derandomization results in candidate decoding exhibiting highly correlated properties and an incorrect derandomization results in a decoding exhibiting uncorrelated properties. In addition, the time-varying randomization advantageously handles zero blocks. In one embodiment, time-varying randomization may decrease the likelihood that the decoder will miss data errors by resynchronization (i.e., the decoder incorrectly decoding a set of blocks then correctly decoding subsequent blocks without recognizing the error). Encoding parameters may be used to perform the randomization and derandomization processes. For example, a randomization pattern may be chosen based on the values of the compression parameters.

[0135] In one embodiment, Q_(i) is the Qbit value used to quantize a given VL-data block x_(i). In this embodiment, this number may be 0, 1, 2, 3, or 4. In one embodiment, a seed value may be used to initialize a pseudorandom number generator (PNG) to create a pseudorandom number sequence. This seed value may vary with the current Q_(i) on a block-by-block basis. In alternate embodiments, the seed value may be used to generate any suitable mathematical transformation sequence.

[0136] In alternate embodiments, the seed value may be generated by the combination of a variety of compression constants to encode the block of data. Such compression constants include, but are not limited to, Qbit value, Motion Flag (MF), MIN, MAX, CEN, DR, and block address (BA), in which BA identifies a particular pixel location within the block of data. These values may be combined by summation and/or multiplication and may be generated from a combination of the current block and prior and/or subsequent blocks of data.

[0137] For example, in one embodiment, the MF and Qbit values may be used to define the seed value as follows:

seed=5·MF _(i) +Q _(i)

[0138] where Q_(i) represents the number of Qbit values and MF_(i) represents the motion flag value.

[0139] In alternate embodiments, the seed value may be generated as follows:

(10·BA_(i))+(5·MF _(i))+Q_(i)

(2560·BA_(i))+(10·DR _(i))+(5·MF _(i))+Q_(i)

[0140] where BA_(i) represents BA values and DR_(i) represents the DR value.

[0141] These seed generating combinations may be summed over a number of blocks to generate time-varying seed values. Thus, in one embodiment, the seed may be defined as follows: $\sum\limits_{n = 0}^{N - 1}\quad {\left( {{5 \cdot {MF}_{n}} + Q_{n}} \right) \cdot {(10)^{n}.}}$

[0142]FIG. 12d illustrates one embodiment of method for encoding VL-data blocks by time-varying randomization. Initially at step 1277, the seed value may be set to zero. Other initial values may also be used. In one embodiment, the seed value is an 8-bit binary number (e.g., 00000000).

[0143] Next, at step 1279, the next VL-data block is retrieved. Then at step 1281, the Qbit value for the VL-data block is determined. In one embodiment, the Qbit value may be determined directly from the DR. In an alternate embodiment, a Qbit value previously determined by the encoder may be used and stored in a data buffer. Next at step 1283, if the Qbit value is not equal to zero, the process continues at step 1285. If the Qbit value is equal to zero, the process continues at step 1289.

[0144] If at step 1283, Qbit value is not zero, then at step 1285, the seed value is combined with the Qbit values. In one embodiment, the seed value is shifted left by a number of bits, e.g., two bits. Then the seed value may be combined, for example, concatenated, with the binary equivalent of the Qbit value minus one. (For example, if the current seed value is 00000010 and the binary equivalent of Qbit value minus one is 11, the two steps result in a seed value of 00001011.) Processing then continues at step 1291.

[0145] If, at step 1283, the Qbit value is zero, then, at step 1289, the seed value is manipulated to indicate a zero block. In one embodiment, the seed value is shifted right one bit. (For example, if the current seed value is 00001011, the result of the right shift is a seed value of 00000101.) In alternate embodiments, the seed value may be set to a specified constant, left shifted in some manner, or manipulated in any advantageous manner.

[0146] At step 1291, the VL-data is randomized in accordance with the seed value. In one embodiment, the seed value is used to generate a pseudorandom number sequence using the PRG. A given PRG always generates the same pseudorandom number sequence using the same seed value. Then, the pseudorandom number sequence is used as a transformation function of the VL-data block. In one embodiment, the VL-data may be randomized by applying a bitwise XOR (exclusive OR) function to the VL-data and the pseudorandom number sequence.

[0147] As an example, a sequence of Qbit values for successive temporally adjacent blocks of data may be as follows:

Q₁=3, Q₂=2, Q₃=1, Q₄=0, . . .

[0148] The seed value is initially set to 00000000, (corresponding to step 1277). The first VL-data block, x₁, is retrieved and Q₁ is determined. In this example, Q₁ has a value of 3. The Qbit value is not zero, therefore, steps 1285 and 1287 are executed. The seed value is shifted left two bits, resulting in the seed value 00000000. For block one, Q₁−1=2, which has a binary value of 10. The two values are concatenated resulting in a seed value of 00000010. The seed value is then used to generate the pseudorandom number sequence y₁ which is bitwise XORed with x₁.

[0149] The next VL-data block, x₂, and its Qbit value, Q₂ (value 2), are retrieved. For block two, Q₂−1=1, which has a binary value of 01. The current seed value is shifted left two bits, resulting in 00001000. The two values are concatenated resulting in a new seed value of 00001001. The new seed value is then used to generate the pseudorandom number sequence y₂ which is bitwise XORed with x₂.

[0150] The next VL-data block, x₃, and its Qbit value, Q₃ (value 1), are retrieved. For block three, Q₃−1=0, which has a binary value of 00. The current seed value is shifted left two bits, resulting in 00100000. The two values are concatenated resulting in a new seed value of 00100100. The new seed value is then used to generate the pseudorandom number sequence y₃ which is bitwise XORed with x₃.

[0151] The next VL-data block, x₄, and its Qbit value, Q₄ (value 0), are retrieved. Because the Qbit value is 0 (a zero block), the seed value is shifted to the right one bit, corresponding to step 1289. This results in a new seed value of 00010010. The new seed value is then used to generate the pseudorandom number sequence y₄ which is bitwise XORed with x₄.

[0152] FIGS. 10-12 illustrate intra group VL-data shuffling tolerated up to ⅙ packet data loss during transmission. It will be appreciated by one skilled in the art, that the number of total partitions and bit separation can be varied to ensure against 1/n burst error loss.

Inter Segment FL-data Shuffling

[0153] Inter segment FL-data shuffling describes rearranging block attributes among different segments. Rearranging block attributes provides for a distributed loss of data. In particular, when FL-data from a segment is lost during transmission the DR value, MIN value, and Motion Flag value lost do not belong to the same block. FIGS. 13 and 14 illustrate one embodiment of inter segment FL-data shuffling.

[0154]FIG. 13 illustrates the contents of Segments 0 to 5. For one embodiment, each segment comprises 880 DRs, 880 MINs, 880 Motion Flags, and VL-data corresponding to 660 Y-blocks, 110 U-blocks, and 110 V-blocks. As illustrated in graph MIN Shuffling 1300, the MIN values for Segment 0 are moved to Segment 2, the MN values for Segment 2 are moved to Segment 4, and the MIN values for Segment 4 are moved to Segment 0. Additionally, the MIN values for Segment 1 are moved to Segment 3, the MIN values for Segment 3 are moved to Segment 5, and the Motion Flag values for Segment 5 are moved to Segment 1.

[0155]FIG. 13a illustrates Motion Flag shuffling. As illustrated, in graph Motion Flag Shuffling 1305, the Motion Flag values for Segment 0 are moved to Segment 4, the Motion Flag values for Segment 2 are moved to Segment 0, and the Motion Flag values for Segment 4 are moved to Segment 2. Additionally, the Motion Flag values for Segment 1 are moved to Segment 5, the Motion Flag values for Segment 3 are moved to Segment 1, and the Motion Flag values for Segment 5 are moved to Segment 3. Loss pattern 1310 illustrates the FL-data loss after Segment 0 is lost during transmission.

[0156] For a specific block attribute, both FIG. 13 and FIG. 13a illustrate shuffling all instances of the specific block attribute between segments. For example, in FIG. 13 the 880 MIN values from Segment 0 are collectively exchanged with the 880 MIN values in Segment 2. Similarly, in FIG. 13a the 880 Motion Flags for Segment 0 are collectively exchanged with the 880 Motion Flags in Segment 4. During a transmission loss of consecutive packets, this collective shuffling of block attributes results in a disproportionate loss of a specific block attributes for a block group. In one embodiment, a block group includes three ADRC blocks.

[0157]FIG. 14 illustrates one embodiment of a modular three shuffling process for DR, MIN, and Motion Flag values. In an alternate embodiment, CEN may also be used in the shuffling process. A modular three shuffling describes a shuffling pattern shared across three blocks (i.e., a block group) in three different segments. The shuffling pattern is repeated for all block groups within the three different segments. However, a different shuffling pattern is used for different block attributes. Accordingly, the modular three shuffling process distributes block attributes over all three segments. In particular, for a given block group a modular three shuffling ensures that only one instance of a specific block attribute is lost during the transmission loss of a segment. Thus, during the data recovery process, described below, a reduced number of candidate decodings are generated to recover data loss within a block.

[0158] As illustrated in DR Modular Shuffle 1410, a segment stores 880 DR values. Accordingly, the DR values are numbered 0-879 dependent on the block from which a given DR value is derived. In a modular three shuffling the FL-data contents of three segments are shuffled. A count of 0-2 is used to identify each DR value in the three segments identified for a modular shuffling. Accordingly, DR's belonging to blocks numbered 0, 3, 6, 9 . . . belong to Count 0. Similarly, DR's belonging to blocks numbered 1, 4, 7, 10, . . . belong to Count 1 and DR's belonging to blocks numbered 2, 5, 8, 11 . . . belong to Count 2. Thus, for a given count the DR values associated with that count are shuffled across Segment 0, 2, and 4. Similarly, the DR values associated with the same count are shuffled across Segments 1, 3, and 5.

[0159] In DR Modular Shuffle 1410, the DR values belonging to Count 0 are left un-shuffled. The DR values belonging to Count 1 are shuffled. In particular, the Count 1 DR values in Segment A are moved to Segment B, the Count 1 DR values in Segment B are moved to Segment C, and the Count 1 DR values in Segment C are moved to Segment A.

[0160] The DR values belonging to Count 2 are also shuffled. In particular, the Count 2 DR values in Segment A are moved to Segment C, the Count 2 DR values in Segment B are moved to Segment A, and the Count 2 DR values in Segment C are moved to Segment B.

[0161] MIN Modular Shuffle 1420 illustrates one embodiment of a modular three block attribute shuffling process for MIN values. A segment includes 880 MIN values. In MIN Modular Shuffle 1420, the shuffling pattern used for Count 1 and Count 2 in DR Modular Shuffle 1410 are shifted to Count 0 and Count 1. In particular, the shuffling pattern used for Count 1 in DR Modular Shuffle 1410 is applied to Count 0. The shuffling pattern used for Count 2 in DR Modular Shuffle 1410 is applied to Count 1 and the MIN values belonging to Count 2 are left un-shuffled.

[0162] Motion Flag Modular Shuffle 1430 illustrates one embodiment of a modular three block attribute shuffling process for Motion Flag values. A segment includes 880 Motion Flag values. In Motion Flag Modular Shuffle 1430, the shuffling pattern used for Count 1 and Count 2 in DR Modular Shuffle 1410 are shifted to Count 2 and Count 0 respectively. In particular, the shuffling pattern used for Count 2 in DR Modular Shuffle 1410 is applied to Count 0. The shuffling pattern used for Count 1 in DR Modular Shuffle 1410 is applied to Count 2 and the Motion Flag values belonging to Count 1 are left un-shuffled.

[0163]FIG. 14a illustrates the modular shuffling result of Modular Shuffles 1410, 1420, and 1430. Modular Shuffle Result 1416 shows each attribute destination of blocks belonging to Segment 0. In this example, Segment 0 corresponds to Segment A of FIG. 14. This destination is defined according to Modular Shuffles 1410, 1420, and 1430 of FIG. 14. FIG. 14a also illustrates the distribution loss of block attributes after Segment 0 is lost during transmission. In particular, Loss Pattern 1415 shows the DR, Motion Flag, and MIN values loss across six segments after a subsequent deshuffling is applied to the received data that was initially shuffled using Modular Shuffles 1410, 1420, and 1430. In alternate embodiments, CEN value may also be used in the shuffling and deshuffling process. As illustrated in FIG. 14a, the block attribute loss is distributed periodically across Segments 0, 2, and 4 while Segments 1, 3, and 5 have no block attribute loss. Additionally, Spatial Loss Pattern 1417 illustrates the deshuffled spatial distribution of damaged FL-data after Segment 0 is lost during transmission. Spatial Loss Pattern 1417 shows the DR, Motion Flag, and MIN value loss after a subsequent deshuffling is applied to the received data. In Spatial Loss Pattern 1417, a damaged block is surrounded by undamaged blocks and damaged block attributes can be recovered with surrounding undamaged blocks.

[0164]FIG. 14 and FIG. 14a illustrate a modular three shuffling pattern and the distribution loss of block attributes after a segment is lost during transmission. In alternative embodiments, the count variables or the number of segments are varied to alternate the distribution of lost block attributes. FIG. 14b illustrates Modular Shuffle Result 1421 and Loss Pattern 1420. Similarly, FIG. 14c illustrates Modular Shuffle Result 1426 and Loss Pattern 1425. Both Loss Pattern 1420 and Loss Pattern 1425 illustrate the distribution loss of block attributes across six segments, as opposed to three segments as previously described.

[0165] It is contemplated that in alternate embodiments various combinations of block attributes will be distributed to perform the shuffling process.

Inter Segment VL-data Shuffling

[0166] In the inter segment VL-data shuffling process, bits between a predetermined number of segments, for example, 6 segments, may be arranged to ensure a spatially separated and periodic VL-data loss during an up to ⅙ packet transmission loss. FIG. 15 and 16 illustrate one embodiment of the inter segment VL-data shuffling process.

[0167] In the present embodiment, a transmission rate approaching 30 Mbps is desired. Accordingly, the desired transmission rate results in 31,152 bits available for the VL-data in each of the 60 buffers. The remaining space is used by FL-data for the eighty-eight blocks included in a buffer. FIG. 15 includes the VL-data buffer organization within a frame set for a transmission rate approaching 30 Mbps. As previously described, partial buffering is used to maximize the usage of available VL-data space within each buffer, and the unused VL-data space is filled with a post-amble.

[0168]FIG. 16 illustrates one embodiment of the shuffling process to ensure a spatially separated and periodic VL-data loss. The first row illustrates the VL-data from the 60 buffers in FIG. 15 rearranged into a concatenated stream of 1,869,120 bits. The second row illustrates the collection of every sixth bit into a new stream of bits. Thus, when the decoder subsequently reverses the process, a burst loss of up to ⅙ of the data transmitted is transformed into a periodic loss where at least 5 undamaged bits separate every set of two damaged bits.

[0169] The third row illustrates grouping every 10 bits of Stream 2 into a new stream of bits, Stream 3. The boundary of a grouping is also defined by the number of bits in a segment. Grouping of Stream 2 for every tenth bit ensures that a {fraction (1/60)} data loss results in fifty-nine undamaged bits between every set of two damaged bits. This provides for a spatially separated and periodic VL-data loss in the event that 88 consecutive packets of data are lost.

[0170] The fourth row illustrates grouping every 11 bits of Stream 3 into Stream 4. The boundary of a grouping is also defined by the number of bits in a segment. Grouping of Stream 3 for every eleventh bit ensures that {fraction (1/660)} data loss results in 659 undamaged bits between to damaged bits, resulting in a spatially separated and periodic VL-data loss during a transmission loss of 8 consecutive packets.

[0171] Each group of 31,152 bits within Stream 4 is consecutively re-stored in Buffers 0-59, with the first group of bits stored in Buffer 0 and the last group of bits stored in Buffer 59.

[0172] It will be appreciated by one skilled in the art that the grouping requirements of FIG. 16 are variable to ensure a spatially separated and periodic VL-data loss tolerance up to a 1/n transmission loss.

Transmission

[0173] The previously described shuffling process creates buffers with intermixed FL-data. For one embodiment, packets are generated from each buffer, according to packet structure 200, and transmitted across Transmission media 135. The data received is subsequently decoded. Lost or damaged data may be recovered using data recovery processes.

Decoding

[0174] Referring again to FIG. 4, a flow diagram illustrating one embodiment of decoding process performed by Decoder 120 is shown. In one embodiment, the conversion and de-shuffling processes are the inverse of the processes represented in FIG. 3. However, in one embodiment, time-varying derandomization of Q codes and delayed decision decoding may be performed within step 435 as discussed below.

Time-varying Derandomization of Q Codes and Delayed Decision Decoding

[0175] If the dynamic range (DR) of a particular block is lost or damaged in transmission, the ADRC decoder must determine how many bits were used to quantize that block without relying on the DR. In one embodiment, this process may be accomplished by applying time-varying derandomization to each VL-data block as it is received at the decoder.

[0176] Randomization, and the subsequent derandomization of data, may be applied to destroy the correlation of incorrect candidate decodings that may be generated during the data decoding process in order to estimate lost or damaged data. The derandomization process does not change the properties of the correct candidate decoding, as it is restored to its original condition. Derandomized data will tend to result in a candidate decoding that exhibits highly correlated properties indicating that the corresponding candidate decoding is a good selection.

[0177] The derandomization process may result in candidate decodings exhibiting highly correlated properties and an incorrect derandomization may result in a decoding exhibiting uncorrelated properties. In addition, the time-varying derandomization advantageously handles zero blocks. In one embodiment, the time-varying randomization may decrease the likelihood that the decoder will miss data errors by resynchronization (i.e., the decoder incorrectly decoding a set of blocks then correctly decoding subsequent blocks without recognizing the error). Encoding parameters may be used to perform the derandomization processes. For example, a derandomization pattern may be chosen based on the values of the compression parameters.

[0178] In one embodiment, if DR arrives at the decoder undamaged, the Qbit value is determined by the given threshold table defined for the ADRC algorithm. In this embodiment, the decoder can easily determine the proper update for its copy of the randomizing or seed value. In one embodiment, if DR is damaged, the decoder attempts to decode the block with all possible Qbit values and associated possible randomizing or seed values to generate candidate decodings. In this embodiment, a local correlation metric is applied to each candidate decoding and a confidence metric is computed for the block.

[0179] In one embodiment, the block may not be dequantized yet as the decoder implements a delayed-decision decoder. In one embodiment, the delayed-decision decoder delays the decoding of the data by four blocks. If the decoder calculates four, consecutive low confidence metrics, it concludes that the decoding of the oldest block was incorrect. In that case, an alternate decoding, for example, the next most likely decoding is then evaluated. In one embodiment, the three more recent blocks are derandomized using the alternate guess at seed value used for derandomization. This continues until a sequence of four decoded blocks are produced where the most recent block's confidence metric is greater than a given threshold value τ.

[0180]FIG. 17 is a flowchart of one embodiment for the time-varying derandomization of VL-data blocks using a seed value. Initially at step 1705, a seed value is set to zero. In one embodiment, the seed value is an 8-bit binary number (e.g., 00000000).

[0181] At step 1710 the next VL-data block is retrieved. Then at step 1715, it is determined whether the DR of the VL-data block is lost or damaged. If the DR is intact, processing continues at step 1720. If the DR is not intact (either lost or damaged), processing continues at step 1755.

[0182] If at step 1715, the DR for the current VL-data block is intact, steps 1720 through 1750 are performed to derandomize the VL-data. The steps are similar to steps 1281 through 1293 described above in reference to FIG. 12d.

[0183] If at step 1715, the DR is lost or damaged, processing continues at step 1755. At step 1755, all possible candidate seed values for the current block are computed. In one embodiment, all five possible candidate seed values are computed from the current seed value for the current VL-data block. In this embodiment, the five possible seed values may be: $\begin{matrix} {xx00} & {Q = 1} \\ {xx01} & {Q = 2} \\ {xx10} & {Q = 3} \\ {xx11} & {Q = 4} \\ x & {Q = 0} \end{matrix}$

[0184] where xx is the seed value as it existed prior to the application of the process to the current block. The last value is for the zero block in which the seed value is sifted right 1 bit.

[0185] Next, at step 1760, the current block is derandomized for all possible seed values. The derandomization of each possible seed value is similar to processing steps 1720 through 1750. Then, at step 1765, the correlations of the possible seed values are computed.

[0186] The computation of correlation values may be determined using a variety of methods including, but not limited to, least squares estimates, linear regression, or any suitable method. One method of determining correlation values is described in more detail in “Source Coding To Provide For Robust Error Recovery During Transmission Losses,” PCT application No. PCTUS98/22347 assigned to the assignee of the present invention.

[0187] Next, at step 1770, using a candidate seed value, the confidence metric for the block if determined. If at step 1775, the confidence metric c_(i) is above a threshold τ, the candidate Qbit value to derandomize the current VL-data block is used beginning at step 1725.

[0188] However, if the confidence metric c_(i) is below the threshold τ, then processing continues at step 1780. At step 1780, the confidence metric for the oldest block retained in memory is examined. In one embodiment, up to four blocks may be maintained. Thus, in this embodiment, the confidence metric C_(i−3) is examined. If the confidence metric for the oldest block is less than τ, then, at step 1780, an alternate or next-best decoding for the oldest block and is chosen the oldest block is derandomized.

[0189] At step 1785, the remaining three blocks in memory are re-derandomized based on this new alternate seed value obtained in step 1780. The re-derandomizing of the remaining blocks is similar to processing steps 1725 through 1750. Processing then returns to step 1755 and repeats steps 1780 through 1785 until the confidence metric of the most recent block, c_(i), is greater than τ.

[0190] In one embodiment, a confidence metric determines when the local correlation metric has failed to produce the correct decoding from among the possible candidate decodings. In one embodiment, the most likely decoding candidate for correlation-based decoding exhibits higher correlation properties as compared to the next-most-likely decoding candidate. The confidence metric is a numerical measurement of the degree to which the best candidate exhibits the higher correlation for any given block. In one embodiment, the decoder performs every possible candidate decoding and then attempts to determine the appropriate decoding based on local correlation. In this embodiment, the decoder determines a confidence metric based on the two most likely decodings, i.e., the two decodings that exhibit the largest local correlation. This metric indicates the degree to which the most likely decoding is superior to the next-most-likely decoding.

[0191] In one embodiment, a decoding that produces no clearly superior choice based on the local correlation structure in the block would have a low confidence metric. Blocks in which there is one decoding that produces a much larger correlation than any of the other possible decodings would have a large confidence metric. In one embodiment, if the decoder computes n consecutive low confidence metrics then it would conclude that a decoding error occurred in the decoding of the oldest block.

[0192] For example, if the decoder determines the correlations (C) of four derandomized blocks as follows:

C⁻³ low

C⁻² low

C⁻¹ high

C₀ high

[0193] (where C₀ is the most recently derandomized block and C⁻³ is the oldest derandomized block), then decoder may assume that block −3 was correctly derandomized.

[0194] If decoder determines the correlations of the four derandomized blocks as follows:

C⁻³ high

C⁻² low

C⁻¹ low

C₀ low,

[0195] decoder may not make a determination if block −2, −1, and 0 are correctly decoded until decoder derandomized the next block.

[0196] If the next block derandomized has a high correlation, the correlations of the four derandomized blocks may be as follows:

C⁻³ low

C⁻² low

C⁻¹ low

C₀ high.

[0197] Decoder may assume that the three low correlation blocks (−3, −2, −1) were derandomized correctly.

[0198] However, if the next block derandomized has a low correlation, the correlations of the four-derandomized blocks may be as follows:

C⁻³ low

C⁻² low

C⁻¹ low

C₀ low.

[0199] The decoder may assume that the oldest block (−3) was incorrectly derandomized and will explore the oldest block's alternative derandomizations to find the next-most-likely candidate for derandomization. In one embodiment, it is only when all four blocks have low correlation values that the alternatives for the oldest block may be examined. In alternate embodiments, a greater or lesser number of low correlation blocks may be used or a combination of low and high correlations of varying number.

[0200] The invention has been described in conjunction with the preferred embodiment. It is evident that numerous alternatives, modifications, variations and uses will be apparent to those skilled in the art in light of the foregoing description.

APPENDIX A

[0201] William E. Alford, Reg. No. 37,764; Farzad E. Amini, Reg. No. P42,261; Aloysius T. C. AuYeung, Reg. No. 35,432; Amy M. Armstrong, Reg. No. 42,265; William Thomas Babbitt, Reg. No. 39,591; Carol F. Barry, Reg. No. 41,600; Jordan Michael Becker, Reg. No. 39,602; Bradley J. Bereznak, Reg. No. 33,474; Michael A. Bernadicou, Reg. No. 35,934; Roger W. Blakely, Jr., Reg. No. 25,831; Gregory D. Caldwell, Reg. No. 39,926; Ronald C. Card, Reg. No. P-44,587; Yong S. Choi, Reg. No. P43,324; Thomas M. Coester, Reg. No. 39,637; Michael Anthony DeSanctis, Reg. No. 39,957; Daniel M. De Vos, Reg. No. 37,813; Robert Andrew Diehl, Reg. No. 40,992; Tarek N. Fahmi, Reg. No. 41,402; James Y. Go, Reg. No. 40,621; Dinu Gruia, Reg. No. P42,996; David R. Halvorson, Reg. No. 33,395; Willmore F. Holbrow III, Reg. No. P41,845; George W Hoover II, Reg. No. 32,992; Eric S. Hyman, Reg. No. 30,139; Dag H. Johansen, Reg. No. 36,172; William W. Kidd, Reg. No. 31,772; Michael J. Mallie, Reg. No. 36,591; Andre L. Marais, under 37 C.F.R. § 10.9(b); Paul A. Mendonsa, Reg. No. 42,879; Darren J. Milliken, Reg. 42,004; Thinh V. Nguyen, Reg. No. 42,034; Dennis A. Nicholls, Reg. No. 42,036; Kimberley G. Nobles, Reg. No. 38,255; Daniel E. Ovanezian, Reg. No. 41,236; Babak Redjaian, Reg. No. 42,096; James H. Salter, Reg. No. 35,668; William W. Schaal, Reg. No. 39,018; James C. Scheller, Reg. No. 31,195; Anand Sethuraman, Reg. No. P43,351; Charles E. Shemwell, Reg. No. 40,171; Jeffrey Sam Smith, Reg. No. 39,377; Maria McCormack Sobrino, Reg. No. 31,639; Stanley W. Sokoloff, Reg. No. 25,128; Judith A. Szepesi, Reg. No. 39,393; Vincent P. Tassinari, Reg. No. 42,179; Edwin H. Taylor, Reg. No. 25,129; George G. C. Tseng, Reg. No. 41,355; Joseph A. Twarowski, Reg. No. 42,191; Lester J. Vincent, Reg. No. 31,460; Glenn E. Von Tersch, Reg. No. 41,364; John Patrick Ward, Reg. No. 40,216; Stephen Warhola, Reg. No. 43,237; Charles T. J. Weigell, Reg. No. 43,398; Kirk D. Williams, Reg. No. 42,229; Steven D. Yates, Reg. No. 42,242; Ben J. Yorks, Reg. No. 33,609; and Norman Zafman, Reg. No. 26,250; my patent attorneys, and James A. Henry, Reg. No. 41,064; my patent agent, of BLAKELY, SOKOLOFF, TAYLOR & ZAFMAN LLP, with offices located at 12400 Wilshire Boulevard, 7th Floor, Los Angeles, Calif. 90025, telephone (310) 207-3800, and James R. Thein, Reg. No. 31,710, my patent attorney. 

What is claimed is:
 1. A method for encoding a block of data comprising: transforming a current block of data in accordance with selected data of the current block and selected data for at least one temporally adjacent block.
 2. The method of claim 1 wherein data is selected from the group consisting of two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, and N-channel sound.
 3. The method of claim 1 wherein at least one temporally adjacent block is selected from the group consisting of prior blocks and subsequent blocks.
 4. The method of claim 1 wherein selected data of the current block and selected data of at least one temporally adjacent block being used to form a seed value, the step of transforming the current block of data is performed in accordance with the seed value.
 5. The method of claim 1, wherein selected data of the current block and selected data of at least one temporally adjacent block being used to form a seed value, the seed value being used to generate a transforming value; if the transforming value is not zero, shifting the seed value left by two bits, and concatenating the transforming value to the right of the seed value to form an updated seed value; and if the transforming value is zero, shifting the seed value to the right one bit to form the updated seed value.
 6. The method of claim 5 further comprising: a) establishing a next block as the current block; b) transforming the current block using the updated seed value, said transforming generates an updated transforming value; updating the updated seed value, said updating comprising if the updated transforming value is not zero, shifting the updated seed value left by two bits, and concatenating the updated transforming value to the right of the updated seed value to form a new updated seed value, and if the transforming value is zero, shifting the updated seed value to the right one bit to form the new updated seed value; and d) iteratively performing steps a), b), and c) to process blocks of data.
 7. The method of claim 5 further comprising initializing the seed value for a first block of data.
 8. The method of claim 1 wherein the step of transforming comprises: establishing a seed value using data of the current block and temporally adjacent blocks; inputting the seed value into a pseudorandom number generator to generate a randomized sequence of data; and transforming the current block of data with the randomized sequence of data.
 9. The method of claim 1 wherein the step of transforming comprises: generating a transformation pattern based upon data of the current block and at least one temporally adjacent block; and applying the transformation pattern to the data of the current block.
 10. The method of claim 1 further comprising: concatenating selected transformed data of a number of prior blocks to create a transforming value, said transforming value is used to transform the current block.
 11. The method of claim 1 wherein the current data is encoded by Adaptive Dynamic Range Coding, and the selected data is selected from the group consisting of Qbit value, motion flag, minimum value, maximum value, central value, and Q codes.
 12. The method of claim 1 wherein the step of transforming comprises: combining the current block of data with a sequence of data using a bit-wise exclusive OR function.
 13. A method for encoding a block of data comprising: randomizing a current block of data in accordance with selected data of the current block and selected data of at least one prior block, wherein the selected data of the current block and selected data of the at least one prior block being used to form a seed value, the seed value being used to generate a randomizing value, the randomizing value being used to randomize the current block of data.
 14. The method of claim 13 wherein data is selected from the group consisting of two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, and N-channel sound.
 15. The method of claim 13 wherein if the randomizing value is not zero, shifting the seed value left by two bits, and concatenating the randomizing value to the right of the seed value to form an updated seed value; and if the randomizing value is zero, shifting the seed value to the right one bit to form the updated seed value.
 16. A method for decoding a block of data comprising: de-transforming a current block of data in accordance with selected data of the current block and selected data for at least one temporally adjacent block.
 17. The method of claim 16 wherein the step of de-transforming further comprises: determining if data of the current block is intact; if the data is intact, decoding the at least one temporally adjacent block; and if the data is not intact, computing a confidence metric of the current block of data.
 18. The method of claim 17 wherein the step of computing further comprises: choosing a candidate de-transformed data for the current block in accordance with data of the current block and data of the at least one temporally adjacent block; and determining a confidence metric for the current block of data in accordance with the candidate de-transformed data.
 19. The method of claim 18 wherein the step of choosing comprises: computing a set of candidate de-transforming values in accordance with selected data of the current block and selected data of the at least one temporally adjacent block; creating a set of de-transformed data by de-transforming the current block of data in accordance with each of the set of candidate de transforming values; computing a set of correlations, wherein each of the correlations corresponds to one of each of the set of de-transformed data; and choosing the candidate de-transformed data for the current block in accordance with the set of correlations.
 20. The method of claim 17 further comprising: if the confidence metric is less than a threshold value, choosing an alternate de-transformation for the at least one temporally adjacent block, and re-de-transforming the current block of data in accordance with selected data of the current block and selected data for the alternate de-transformation for the at least one temporally adjacent block; and if the confidence metric is not less than the threshold value, de-transforming the current block of data in accordance with the candidate de-transformed data and selected data for the at least one temporally adjacent block.
 21. The method of claim 16 further comprising: delaying decoding of the current block and the at least one temporally adjacent block.
 22. The method of claim 16 wherein data is selected from the group consisting of two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, and N-channel sound.
 23. The method of claim 16 wherein at least one temporally adjacent block is selected from the group consisting of prior blocks and subsequent blocks.
 24. The method of claim 16 wherein selected data of the current block and selected data of at least one temporally adjacent block being used to form a seed value, the step of de-transforming the current block of data being performed in accordance with the seed value.
 25. The method of claim 16, wherein selected data of the current block and selected data of at least one temporally adjacent block being used to form a seed value the seed value being used to generate a de-transforming value; if the de-transforming value is not zero, shifting the seed value left by two bits, and concatenating the de-transforming value to the right of the seed value to form an updated seed value; and if the de-transforming value is zero, shifting the seed value to the right one bit to form the updated seed value.
 26. The method of claim 25 further comprising: a) establishing a next block as the current block; b) de-transforming the current block using the updated seed value, said de-transforming generates an updated de-transforming value; c) updating the updated seed value, said updating comprising if the updated de-transforming value is not zero, shifting the updated seed value left by two bits, and concatenating the updated de-transforming value to the right of the updated seed value to form a new updated seed value, and if the de-transforming value is zero, shifting the updated seed value to the right one bit to form the new updated seed value; and d) iteratively performing steps a), b), and c) to process blocks of data.
 27. The method of claim 25 further comprising initializing the seed value for a first block of data.
 28. The method of claim 16 wherein the step of de-transforming comprises: establishing a seed value using data of the current block and temporally adjacent blocks; inputting the seed value into a pseudorandom number generator to generate a transformed sequence of data; and de-transforming the current block of data with the transformed sequence of data.
 29. The method of claim 16 wherein the step of de-transforming comprises: generating a transformation pattern based upon data of the current block and at least one temporally adjacent block; and applying the transformation pattern to the data of the current block.
 30. The method of claim 16 further comprising: concatenating selected transformed data of a number of prior blocks to create a de-transforming value, said de-transforming value is used to de-transform the current block.
 31. The method of claim 16 wherein the current data is encoded by Adaptive Dynamic Range Coding, and the selected data is selected from the group consisting of Qbit value, motion flag, minimum value, maximum value, central value, and Q codes.
 32. The method of claim 16 wherein the step of de-transforming comprises: combining the current block of data with a sequence of data using a bit- wise exclusive OR function.
 33. A method for decoding a block of data comprising: derandomizing a current block of data in accordance with selected data of the current block and selected data of at least one prior block, wherein the selected data of the current block and selected data of the at least one prior block being used to form a seed value, the seed value being used to generate a derandomizing value, the derandomizing value being used to derandomize the current block of data.
 34. The method of claim 33 wherein data is selected from the group consisting of two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, and N-channel sound.
 35. The method of claim 33 wherein if the derandomizing value is not zero, shifting the seed value left by two bits, and concatenating the derandomizing value to the right of the seed value to form an updated seed value; and if the derandomizing value is zero, shifting the seed value to the right one bit to form the updated seed value.
 36. A computer-readable medium comprising program instructions for encoding a block of data by performing the steps of: transforming a current block of data in accordance with selected data of the current block and selected data for at least one temporally adjacent block.
 37. The medium of claim 36, wherein selected data of the current block and selected data of at least one temporally adjacent block being used to form a seed value, the seed value being used to generate a transforming value; if the transforming value is not zero, shifting the seed value left by two bits, and concatenating the transforming value to the right of the seed value to form an updated seed value; and if the transforming value is zero, shifting the seed value to the right one bit to form the updated seed value.
 38. The medium of claim 36, wherein selected data of the current block and selected data of at least one temporally adjacent block being used to form a seed value, the seed value being used to generate a transforming value; if the transforming value is not zero, shifting the seed value left by two bits, and concatenating the transforming value to the right of the seed value to form an updated seed value; and if the transforming value is zero, shifting the seed value to the right one bit to form the updated seed value.
 39. The medium of claim 38 further comprising: a) establishing a next block as the current block; b) transforming the current block using the updated seed value, said transforming generates an updated transforming value; c) updating the updated seed value, said updating comprising if the updated transforming value is not zero, shifting the updated seed value left by two bits, and concatenating the updated transforming value to the right of the updated seed value to form a new updated seed value, and if the transforming value is zero, shifting the updated seed value to the right one bit to form the new updated seed value; and d) iteratively performing steps a), b), and c) to process blocks of data.
 40. A computer-readable medium comprising program instructions for decoding a block of data by performing the steps of: de-transforming a current block of data in accordance with selected data of the current block and selected data for at least one temporally adjacent block.
 41. The medium of claim 40 wherein the step of de-transforming further comprises: determining if data of the current block is intact; if the data is intact, decoding the at least one temporally adjacent block; and if the data is not intact, computing a confidence metric of the current block of data.
 42. The medium of claim 41 wherein the step of computing further comprises: choosing a candidate de-transformed data for the current block in accordance with data of the current block and data of the at least one temporally adjacent block; and determining a confidence metric for the current block of data in accordance with the candidate de-transformed data.
 43. The medium of claim 42 wherein the step of choosing comprises: computing a set of candidate de-transforming values in accordance with selected data of the current block and selected data of the at least one temporally adjacent block; creating a set of de-transformed data by de-transforming the current block of data in accordance with each of the set of candidate de-transforming values; computing a set of correlations, wherein each of the correlations corresponds to one of each of the set of de-transformed data; and choosing the candidate de-transformed data for the current block in accordance with the set of correlations.
 44. The medium of claim 41 further comprising: if the confidence metric is less than a threshold value, choosing an alternate de-transformation for the at least one temporally adjacent block, and re-de-transforming the current block of data in accordance with selected data of the current block and selected data for the alternate de-transformation for the at least one temporally adjacent block; and if the confidence metric is not less than the threshold value, de-transforming the current block of data in accordance with the candidate de-transformed data and selected data for the at least one temporally adjacent block.
 45. The medium of claim 40 further comprising: delaying decoding of the current block and the at least one temporally adjacent block.
 46. The medium of claim 40, wherein selected data of the current block and selected data of at least one temporally adjacent block being used to form a seed value the seed value being used to generate a de-transforming value; if the de-transforming value is not zero, shifting the seed value left by two bits, and concatenating the de-transforming value to the right of the seed value to form an updated seed value; and if the de-transforming value is zero, shifting the seed value to the right one bit to form the updated seed value.
 47. The medium of claim 46 further comprising: a) establishing a next block as the current block; b) detransforming the current block using the updated seed value, said de-transforming generates an updated de-transforming value; c) updating the updated seed value, said updating comprising if the updated de-transforming value is not zero, shifting the updated seed value left by two bits, and concatenating the updated de-transforming value to the right of the updated seed value to form a new updated seed value, and if the de-transforming value is zero, shifting the updated seed value to the right one bit to form the new updated seed value; and d) iteratively performing steps a), b), and c) to process blocks of data.
 48. A system for encoding a block of data comprising: means for generating a transformation pattern based upon data of a current block and at least one temporally adjacent block; and means for transforming the current block of data in accordance with the transformation pattern.
 49. A system for encoding a block of data comprising: means for generating a transformation pattern based upon data of the current block and at least one prior block; and means for transforming the current block of data in accordance with the transformation pattern.
 50. A system for decoding a block of data comprising: means for generating a de-transformation pattern based upon data of a current block of data in accordance with selected data of the current block and selected data for at least one temporally adjacent block; and means for de-transforming the current block of data in accordance with the transformation pattern.
 51. The system of claim 50 wherein the means for de-transforming further comprises: means for determining if data of the current block is intact; if the data is intact, means for decoding the at least one temporally adjacent block; and if the data is not intact, means for computing a confidence metric of the current block of data.
 52. The system of claim 50 further comprising: means for delaying decoding of the current block and the at least one temporally adjacent block.
 53. The system of claim 50 wherein the means for de-transforming comprises: means for generating a transformation pattern based upon data of the current block and at least one temporally adjacent block; and means for applying the transformation pattern to the data of the current block.
 54. A system for encoding a block of data comprising: a transforming value defined by selected data of a current block of data and at least one temporally adjacent block; and randomization logic configured to receive the transforming value, the randomization logic transforming the transforming value.
 55. The system of claim 54 wherein data is selected from the group consisting of two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, and N-channel sound.
 56. The system of claim 54 wherein at least one temporally adjacent block is selected from the group consisting of prior blocks and subsequent blocks.
 57. The system of claim 54 wherein selected data of the current block and selected data of at least one temporally adjacent block being used to form a seed value, the randomization logic transforming the current block of data in accordance with the seed value.
 58. The system of claim 54 further comprising: a seed value defined by data of the current block and temporally adjacent blocks, wherein the randomization logic is further configured to receive the seed value for generating a randomized sequence of data, the randomization logic transforming the current block of data in accordance with the randomized sequence of data.
 59. The system of claim 54 wherein the randomization logic further comprises logic for concatenating selected transformed data of a number of prior blocks to create a transforming value, said transforming value is used to transform the current block.
 60. The system of claim 54 wherein the current data is encoded by Adaptive Dynamic Range Coding, and the selected data is selected from the group consisting of Qbit value, motion flag, minimum value, maximum value, central value, and Q codes.
 61. The system of claim 54 wherein the randomization logic is configured in hardware selected from the group comprising at least one ASIC, at least one large scale integration (LSI) component, and at least one processor component.
 62. A system for decoding a block of data comprising: a de-transforming value defined by selected data of a current block of data and at least one temporally adjacent block; and de-randomization logic configured to receive the de-transforming value, the de-randomization logic de-transforming the de-transforming value.
 63. The system of claim 62 wherein the de-randomization logic further comprises logic for delaying decoding of the current block and the at least one temporally adjacent block.
 64. The system of claim 62 wherein data is selected from the group consisting of two-dimensional static images, hologram images, three-dimensional static images, video, two-dimensional moving images, three dimensional moving images, monaural sound, and N-channel sound.
 65. The system of claim 62 wherein at least one temporally adjacent block is selected from the group consisting of prior blocks and subsequent blocks.
 66. The system of claim 62 wherein selected data of the current block and selected data of at least one temporally adjacent block being used to form a seed value, the de-randomization logic de-transforming the current block of data in accordance with the seed value.
 67. The system of claim 62 wherein the de-randomization logic is configured in hardware selected from the group comprising at least one ASIC, at least one large scale integration (LSI) component, and at least one processor component.
 68. A memory for storing data for access by an application program being executed on a data processing system, comprising: a data structure stored in said memory, said data structure including information resident in a database used by said application program and comprising, a plurality of packet structures used for the transmission of data, wherein each packet structure comprises a dynamic range data object of spatially and temporally disjointed data objects within the data, and a set of block attributes for each dynamic range data object. 